package com.ann.base;

import java.util.HashMap;

public class HashMapTest {

    public static void main(String[] args) {
        //不指定容量的话默认是16
        HashMap<String, String> hashMap = new HashMap<>(13);
        hashMap.put("杨过","黄晓明");
        hashMap.put("小龙女","刘亦菲");

        System.out.println(hashMap.get("小龙女"));
    }
}
